<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@page import="com.ouryue.test.bean.User"%>
<%@page import="java.util.List"%>

<html>
<body>


	<form action="<%=request.getContextPath() %>/user_create"
		method="post">
			名称：
			<input type="text" name="name" value="" />
			余额：
			<input type="text" name="balance" value="" />
			<input type="submit" value="保存" />
	</form>

	<table width="800" align="center">

		<c:forEach var="user" items="${userList}">
			<tr data-id="${user.id}">
				<td width="300">${user.name}</td>
				<td width="100"></td>
				<td width="300">${user.balance}</td>
				<td width="100"></td>

			</tr>
		</c:forEach>

	</table>
</body>
</html>
